#!/bin/bash

#rpm 删除
yum remove -y redis* >> ${YUM_LOG_FILE}

#redis6版本需要删除redis相关配置文件
rm -rf /etc/redis
rm -rf /etc/redis.conf
rm -rf /etc/redis.conf.rpmnew
rm -rf /etc/edis.conf.rpmsave
rm -rf /etc/redis-sentinel.conf
rm -rf /etc/redis-sentinel.conf.rpmnew
rm -rf /etc/redis-sentinel.conf.rpmsave